package com.qipa.netty.service.impl;


import com.qipa.common.ResultModel;
import com.qipa.netty.handler.TextWebSocketFrameHandler;
import com.qipa.netty.service.HandlerService;
import com.qipa.utils.RedisUtils;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.http.FullHttpRequest;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * Created by MySelf on 2018/11/21.
 */
@Component
public class HandlerServiceImpl extends HandlerService {

    Logger logger = Logger.getLogger(HandlerServiceImpl.class);

    @Autowired
    RedisUtils redisUtils;
    @Autowired
    TextWebSocketFrameHandler textWebSocketFrameHandler;

    @Override
    public ResultModel handler(ChannelHandlerContext ctx, FullHttpRequest fullHttpRequest) {


        return ResultModel.ok();
    }

}
